package org.demo.jvm.gc;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;

/**
 * @Author:LiaoYouLe
 * @Date: Created in 2018/9/26
 * @Description
 * @Modifyied By:
 */
public class GcTest {
    private byte[] data = new byte[1024 * 128];

    public static void main(String[] args) throws InterruptedException {
        List<GcTest> gcTests = new ArrayList<>();

        while (true) {
            TimeUnit.SECONDS.sleep(1);
            gcTests.add(new GcTest());
        }


    }

}
